home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2000 June / CyberMycha0006.iso / NFSPorsche / data1.cab / Program_Files / FEDATA / Controls / Tab Button.ctr < prev    next >
Text File  |  2000-03-27  |  4KB  |  166 lines

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ; Tab Button
  4. ;
  5. ; One type of radio item.  These are placed on a radio group control which then adds
  6. ;  mutually exclusive behaviour to the tab button.  Each tab button has a hook into
  7. ;  a panel control on the screen which indicates what panel's visibility is controlled
  8. ;  by this tab.
  9. ;
  10. ; Created by Jason Major, June 15/99
  11. ;
  12. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  13.  
  14. [control]
  15. id=NFS5.TABBUTTON
  16. description=Tab Button
  17.  
  18. parts=data,bg,hoverbg,disabledbg,bgoutline1,bgoutline2,bgoutline3,bgoutline4,label
  19.  
  20. name.value=ID_TABBUTTON
  21.  
  22. states=normal,hidden,hover,selected,selectedhover,disabled
  23. states.flags=0
  24.  
  25. size.value=data.width,18
  26. size.flags=HIDDEN|READONLY
  27. moveable.value=1
  28. moveable.flags=HIDDEN|READONLY
  29. resizeable.value=1
  30. resizeable.flags=HIDDEN|READONLY
  31. pos=0,0
  32. pos.label=control.pos
  33.  
  34. autosize.value=1
  35. autosize.flags=HIDDEN|READONLY
  36.  
  37.  
  38. [state.normal]
  39. parts=data,bg,bgoutline1,bgoutline2,bgoutline3,bgoutline4,label
  40.  
  41. [state.hover]
  42. parts=data,hoverbg,bgoutline1,bgoutline2,bgoutline3,bgoutline4,label
  43.  
  44. [state.selected]
  45. parts=data,hoverbg,bgoutline1,bgoutline2,bgoutline3,bgoutline4,label
  46.  
  47. [state.selectedhover]
  48. parts=data,hoverbg,bgoutline1,bgoutline2,bgoutline3,bgoutline4,label
  49.  
  50. [state.hidden]
  51. parts=data
  52.  
  53. [state.disabled]
  54. parts=data,disabledbg,bgoutline1,bgoutline2,bgoutline3,bgoutline4,label
  55.  
  56.  
  57. [part.data]
  58. id=DATA
  59. attributes.value=caption,panel,transon,transoff,width,dropshadow,glintybox,helptext
  60. transon.type=STRING
  61. transon.value=FADE
  62. transon.label=Transition On
  63. transon.flags=0
  64. transoff.type=STRING
  65. transoff.value=SAME
  66. transoff.label=Transition Off
  67.  
  68. caption.type=STRING
  69. caption.value=IDS_TABBUTTON
  70. caption.label=Caption
  71. panel.type=STRING
  72. panel.value=ID_PANELNAME
  73.  
  74. width.value=150
  75. width.type=INT
  76.  
  77. dropshadow.type=INT
  78. dropshadow.value=1
  79. dropshadow.flags=HIDDEN|READONLY
  80.  
  81. glintybox.type=INT
  82. glintybox.value=1
  83. helptext.type=INT
  84. helptext.value=0
  85.  
  86.  
  87. [part.label]
  88. id=LOCALIZEDTEXT
  89. pos.value=5,2
  90. pos.flags=HIDDEN|READONLY
  91. size.flags=HIDDEN|READONLY
  92. fontPathName.value=Universc11b.ffn
  93. fontPathName.flags=HIDDEN|READONLY
  94. stringID.value=IDS_YOUR_STRING
  95. foreColor.value=0xffffffff
  96. foreColor.flags=HIDDEN|READONLY
  97. backColor.value=0x00000000
  98. backColor.flags=HIDDEN|READONLY
  99.  
  100.  
  101. [part.bg]
  102. id=RECT
  103. pos.value=0,0
  104. pos.flags=HIDDEN|READONLY
  105. size.value=data.width,control.size.height
  106. size.flags=HIDDEN|READONLY
  107. color.value=0xFFBC0000
  108. color.flags=HIDDEN|READONLY
  109.  
  110. [part.disabledbg]
  111. id=RECT
  112. pos.value=0,0
  113. pos.flags=HIDDEN|READONLY
  114. size.value=data.width,data.height
  115. size.flags=HIDDEN|READONLY
  116. color.value=0x30FF0000
  117. color.flags=HIDDEN|READONLY
  118.  
  119. [part.hoverbg]
  120. id=RECT
  121. pos.value=0,0
  122. pos.flags=HIDDEN|READONLY
  123. size.value=data.width,control.size.height
  124. size.flags=HIDDEN|READONLY
  125. color.value=0xffffbb00
  126. color.flags=HIDDEN|READONLY
  127.  
  128.  
  129. [part.bgoutline1]
  130. id=RECT
  131. pos.value=0,0
  132. pos.flags=HIDDEN|READONLY
  133. size.value=data.width,1
  134. size.flags=HIDDEN|READONLY
  135. color.value=0xff000000
  136. color.flags=HIDDEN|READONLY
  137.  
  138. [part.bgoutline2]
  139. id=RECT
  140. pos.value=0,17
  141. pos.flags=HIDDEN|READONLY
  142. size.value=data.width,1
  143. size.flags=HIDDEN|READONLY
  144. color.value=0xff000000
  145. color.flags=HIDDEN|READONLY
  146.  
  147. [part.bgoutline3]
  148. id=RECT
  149. pos.value=0,0
  150. pos.flags=HIDDEN|READONLY
  151. size.value=1,18
  152. size.flags=HIDDEN|READONLY
  153. color.value=0xff000000
  154. color.flags=HIDDEN|READONLY
  155.  
  156. [part.bgoutline4]
  157. id=RECT
  158. pos.value=data.width-1,0
  159. pos.flags=HIDDEN|READONLY
  160. size.value=1,18
  161. size.flags=HIDDEN|READONLY
  162. color.value=0xff000000
  163. color.flags=HIDDEN|READONLY
  164.  
  165.  
  166.